package com.itheima.service;

import com.itheima.entity.Result;
import com.itheima.pojo.Order;

import java.util.Map;

public interface OrderService {
    Result submitOrder(Map<String, Object> map) throws Exception;

    Map findOrderById(Integer id) throws Exception;

    Integer getTodayOrderNumber(String today);

    Integer getTodayVisitsNumber(String today);

    Integer getOrderNumberAfterDate(String date);

    Integer getVisitsNumberAfterDate(String date);
}
